/*
 * @Author: 周润玉|zhourunyu1@outlook.com(zhourunyu)
 * @Date: 2022-04-15 14:03:31
 * @LastEditors: 丁平|1572804782@qq.com(dingping)
 * @LastEditTime: 2022-04-18 16:34:52
 * @Description: 
 * @Administrator: 周润玉|zhourunyu1@outlook.com(zhourunyu)
 * @Copyright: 文件版本号
 */
import request from '../../../../../public/js/common/api/api.js';
const FeedBackUrl = Utils.CurDomain.FeedBackUrl;
const WeiXinUrl = Utils.CurDomain.WeiXinUrl;

/**
 * @summary 意见反馈
 */
export default class FeedBackApi {

    /**
     * 意见反馈新增
     * @param {*} data
     * @returns 
     */
    static postSNFeedback(data) {
        return request.post(`${FeedBackUrl}/yyfeedbacks`, data);
    }

    /**
     * 微信用户是否存在
     * @param {*} data
     * @returns 
     */
    static getWxCode(data) {
        return request.get(`${WeiXinUrl}/wxauths/code`, data);
    }
}